package com.wzdigit.wms.basic.client.request.trsn;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
public class ScanUpRequest implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "库位")
	private String locCode;
	
	@ApiModelProperty(value = "条码集合")
	private List<ScanUpSnItemRequest> snList;
	
	@Data
	@Accessors(chain = true)
	@JsonInclude(JsonInclude.Include.NON_NULL)
	@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
	public static class ScanUpSnItemRequest implements Serializable {

		private static final long serialVersionUID = 7635045062116486946L;
		
		@ApiModelProperty(value = "sn")
	    private String goodsSn;
		
	    @ApiModelProperty(value = "扫描方式")
	    private Integer twScanMode;
	}
}
